package org.poseidon.report.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.poseidon.common.annotation.Excel;
import org.poseidon.common.core.domain.BaseEntity;

/**
 * 业务域对象 bu_product
 * 
 * @author gfc
 * @date 2022-02-22
 */
public class BuProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品名 */
    @Excel(name = "业务域名")
    private String productName;

    /** 产品编码 */
    @Excel(name = "业务域编码")
    private String productCode;

    /** 产品负责人 */
    @Excel(name = "业务域负责人")
    private String productManager;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductManager(String productManager) 
    {
        this.productManager = productManager;
    }

    public String getProductManager() 
    {
        return productManager;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("productCode", getProductCode())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("productManager", getProductManager())
            .toString();
    }
}
